s = input()
s = s.replace(',', ' ')
print(s)
